package controlLayer;

import modelLayer.Calculations;

public class ControlCalculations {
	
	private static ControlCalculations instance = null;
	private static Calculations calc = new Calculations();
	
	public static ControlCalculations getInstance()
	{
		if(instance == null)
		{
			instance = new ControlCalculations();
			
		} // end if
		return instance;
	}
	public ControlCalculations()
	{
		
	}
	
	public void setSizeOfArray(int size)
	{
		calc.setArraySize(size);
	}
	public void putStringinArray(String fName, String lName)
	{
		calc.setStringInArray(fName, lName);
	}
	public void setSwag(int age)
	{
		System.out.println( " Age still is : " + age);
		calc.setSwag(age);
	}
	public void setYolo(int age)
	{
		calc.setYolo(age);
	}
	public void setCool(int age)
	{
		calc.setCool(age);
	}
	public void setLame(int age)
	{
		calc.setLame(age);
	}
	public float getSwag()
	{
		return calc.getSwag();
		
	}
	public float getYolo()
	{
		return calc.getYolo();
	}
	public float getCool()
	{
		return calc.getCool();
	}
	public float getLame()
	{
		return calc.getLame();
	}
	public float getArraySize()
	{
		return calc.getArraySize();
	}

}
